package main

import (
	"log"
	"time"
)

func main() {
	now := time.Now()

	year, month, day := now.Date()
	log.Println(year, month, day)
	log.Println(now.Year(), now.Month(), now.Day())

	hour, minute, second := now.Clock()
	log.Println(hour, minute, second)
	log.Println(now.Hour(), now.Minute(), now.Second())

	log.Println(now.Weekday())

	zone, offset := now.Zone()
	log.Println(zone, offset/3600)
	log.Println(now.Year(), now.YearDay())

}
